_h_a_n_d_l_e_P_t_r A pointer to the returned handle of the multiplexer. Used
by subsequent calls to identify the multiplexer.
_h_a_n_d_l_e A handle to the multiplexer.
_c_o_u_n_t The number of iterations to execute. The amount of
processing done during each iteration is scheme and data
dependent. _c_o_u_n_t may also be specified as
CCCCLLLL____CCCCOOOONNNNTTTTIIIINNNNUUUUOOOOUUUUSSSS____BBBBLLLLOOOOCCCCKKKK or CCCCLLLL____CCCCOOOONNNNTTTTIIIINNNNUUUUOOOOUUUUSSSS____NNNNOOOONNNNBBBBLLLLOOOOCCCCKKKK.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
ccccllllOOOOppppeeeennnnMMMMuuuuxxxx opens a multiplexer for a given scheme. It is called before
ccccllllMMMMuuuuxxxx or any call that requires a multiplexer handle. ccccllllCCCClllloooosssseeeeMMMMuuuuxxxx closes
the multiplexer after which _h_a_n_d_l_e is no longer valid.
ccccllllMMMMuuuuxxxx takes no buffer arguments so it always invokes the Implicit
Buffering model (see CLintro(3dm)). Input buffers of type CL_BUF_VIDEO
and CL_BUF_AUDIO, and an output buffer of type CL_BUF_MUX, must have been
created previously with ccccllllCCCCrrrreeeeaaaatttteeeeBBBBuuuuffff. The input buffers are filled with
calls to ccccllllQQQQuuuueeeerrrryyyyFFFFrrrreeeeeeee, ccccllllUUUUppppddddaaaatttteeeeHHHHeeeeaaaadddd, and ccccllllDDDDoooonnnneeeeUUUUppppddddaaaattttiiiinnnnggggHHHHeeeeaaaadddd. The output
buffer is emptied with calls to ccccllllQQQQuuuueeeerrrryyyyVVVVaaaalllliiiidddd and ccccllllUUUUppppddddaaaatttteeeeTTTTaaaaiiiillll.
Buffers should be appropriately sized for proper execution of ccccllllMMMMuuuuxxxx. The
input buffers should have minimum capacities of CL_VIDEO_BUFFER_SIZE and
CL_AUDIO_BUFFER_SIZE. The output buffer should have a minimum capacity
of CL_MUX_BUFFER_SIZE. These parameters may be determined by calling
ccccllllGGGGeeeettttPPPPaaaarrrraaaammmmssss, after first calling ccccllllSSSSeeeettttPPPPaaaarrrraaaammmmssss to provide the multiplexer
with any initialization information it may need (e.g. pack size,
bitrate).
If _c_o_u_n_t is non-negative, ccccllllMMMMuuuuxxxx attempts to perform _c_o_u_n_t iterations of
the multiplexing operation. The actual amount of data processed in each
iteration is scheme and data dependent. The call to ccccllllMMMMuuuuxxxx may consume up
to CL_VIDEO_BUFFER_SIZE * _c_o_u_n_t bytes of video data, and up to
CL_AUDIO_BUFFER_SIZE * _c_o_u_n_t bytes of audio data. This may produce up to
CL_MUX_BUFFER_SIZE * _c_o_u_n_t bytes of multiplexed data. The call does not